package com.ruoyi.check.domain;



public class A {
    public static void main(String[] args) {

        chitang chitang = new chitang();

        chitang.给乌龟起名("我是小乌龟");

    }

}

 class chitang{
    //属性
    public String wugui;
    public String yu;
    public String haitun;
    //方法
    public void  给乌龟起名(String i ){
        // = 赋值 从右边到左边   == 判断
         wugui = i;

        System.out.println(wugui);

     }

}
